Skip to main content
POST
/
api
/
image
/
effects
/
ai-anime-generator
AI Cartoon Generator
curl --request POST \
  --url https://www.ailabapi.com/api/image/effects/ai-anime-generator \
  --header 'Content-Type: multipart/form-data' \
  --header 'ailabapi-api-key: <api-key>' \
  --form task_type=async \
  --form image='@example-file' \
  --form 'index=<string>'
{
  "request_id": "",
  "log_id": "",
  "error_code": 0,
  "error_code_str": "",
  "error_msg": "",
  "error_detail": {
    "status_code": 200,
    "code": "",
    "code_message": "",
    "message": ""
  },
  "task_type": "",
  "task_id": ""
}

Authorizations

ailabapi-api-key
string
header
required

API Key for authentication

Body

multipart/form-data
task_type
string

Task Type.

Example:

"async"

image
file
index
string

Cartoon effect.

  • 0: Vintage Comic.
  • 1: 3D Fairy Tale.
  • 2: Two-dimensional (2D).
  • 3: Refreshing and Elegant.
  • 4: Future Technology.
  • 5: Traditional Chinese Painting Style.
  • 6: General in a Hundred Battles.
  • 7: Colorful Cartoon.
  • 8: Graceful Chinese Style.
  • Response

    200 - application/json

    Success

    The response is of type object.